package com.ytc.teaching.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@Getter
@Setter
@TableName("tb_work")
public class Work {
    //修改时间
    private Date changeDate;

    @TableId(value = "id", type = IdType.AUTO)
    private Long workId;

    //课程所属机构标识
    private Long companyId;

    //机构名称

    private String companyName;

    //作业标题
    private String title;

    //作业内容
    private String question;

    //正在学习的课程计划章节Id
    private Long teachplanId;

    //正在学习的课程计划章节名称
    private String teachplanName;

    //课程标识
    private Long courseId;

    //课程发布ID
    private Long coursePubId;

    //课程名称
    private String courseName;
    //创建人
    private String username;

    //状态(1..使用  0..删除)
    private Integer status;
    //创建时间
    private Date createDate;

    //答题人数
//    @TableField(value = "usernume")
//    private Integer userNum;
}
